package com.briup.srms.cms.service;

import java.util.List;

import com.briup.srms.cms.bean.Article;
import com.briup.srms.cms.bean.extend.ArticleExtend;
import com.jacky.base.utils.CustomerException;
import com.jacky.base.utils.PageVM;
import com.briup.srms.cms.vm.CateoryAriticleVM;

/** 
 * @Description:  
 * @Param:  
 * @return:  
 * @Author: charles 
 * @Date: 2020-11-12 
 */ 
public interface IArticleService {
	List<CateoryAriticleVM> queryCateoryAriticleVM();
	
    ArticleExtend findById(long id);

    void saveOrUpdate(Article article) throws CustomerException;
    // 分页查询
    PageVM<ArticleExtend> pageQuery(int page, int pageSize,String title, String status,Long authorId,Long categoryId);
  	
  	
  	void deleteById(long id) throws CustomerException;
}
